package org.snusmumr.android.media.tools;

import java.io.BufferedWriter;

import android.os.Environment;

public class ExportWriter {
	
	private String fileName;
	private BufferedWriter buf;

	public ExportWriter(String fileName) {
		this.fileName = fileName;
	}
	
	private void init(String fileName) throws InvalidStorageStateException {
		// check if SD-Card is accessible
		if(! Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED))
			throw new InvalidStorageStateException("Invalid storage state: SD card is not mounted");
		
		
	}

	public void writeHeaders() {
		// TODO Auto-generated method stub
		
	}

	public void writeNext() {
		// TODO Auto-generated method stub
		
	}
}
